package com.wsb.wetchat.common;

import java.io.Serializable;

/**
 * @author wang shaobo
 * @date 2022/6/30  9:43
 */
public class CommonResult<T> implements Serializable {

    private int code;

    private String message;

    private T result;

    public CommonResult(int code, String message, T result) {
        this.code = code;
        this.message = message;
        this.result = result;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }
}
